HashSet.opOpAssign

Inserts the given item into the set.

  1. bool insert(T value)
  2. bool opOpAssign(T item)
    struct HashSet(T, Allocator = Mallocator, alias hashFunction = generateHash!T, bool supportGC = shouldAddGCRange!T, bool storeHash = !isBasicType!T)
    bool
    opOpAssign
    (
    string op
    )
    ()
    if (
    op == "~"
    )
  3. alias put = insert
  4. alias insertAnywhere = insert

Return Value

Type: bool

true if the value was actually inserted, or false if it was already present.

Meta